package parames

import (
	"fawn/blog/models"
)

type ArticleIndexResp struct {
	Notices models.Notices   `json:"notices"`
	Top     []models.Article `json:"top"`
	Hot     models.Article   `json:"hot"`
	Link    []models.Links   `json:"link"`
	List    []models.Article `json:"list"`
}

type ArticleDetailsReq struct {
	Id int `json:"id"`
}

type ArticleDetailsResp struct {
	Article models.Article `json:"article"`
	Tag     []string       `json:"tag"`
	Next    ArticleNext    `json:"next"`
	Last    ArticleNext    `json:"last"`
}

type ArticleNext struct {
	Id    int    `json:"id"`
	Title string `json:"title"`
}
